package br.unb.mestrado.simulator.sm;

import br.unb.mestrado.simulator.model.context.ContextInfoInterface;


public enum SystemState {
	
	HIGH_RISK("highRisk",ContextInfoInterface.HIGH_RISK,0,0.61f,8), 
	MODERATE_RISK("moderateRisk",ContextInfoInterface.MODERATE_RISK,1,0.72f,7), 
	NORMAL_RISK("normalRisk",ContextInfoInterface.NORMAL_RISK,2,0.84f,6);
	
	public String name;
	public Integer identifier;
	public Integer index;
	private float qosLevel=0;
	private int featuresCount;
	
	SystemState(String name, Integer id, int index, float qosLevel, int featuresCount) {
		this.name = name;
		this.identifier = id;
		this.index = index;
		this.qosLevel = qosLevel;
		this.featuresCount = featuresCount;
	}
	
	public final String getName() {
		return name;
	}
	public Integer getIdentifier() {
		return identifier;
	}
	public Integer getIndex() {
		return index;
	}
	public float getQoSLevel() {
		return qosLevel;
	}

	public int getFeaturesCount() {
		return featuresCount;
	}
}
